home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 November / CHIP Kasım 1997.iso / ARACLAR / TER500 / 500TER._XE / TE.BAT < prev    next >
Encoding:
DOS Batch File  |  1997-08-18  |  2.8 KB  |  79 lines

  1. If Errorlevel 255 Goto Fatal
  2. If Errorlevel 254 Goto OvrError
  3. If Errorlevel 253 Goto PwdError
  4. If Errorlevel 252 Goto LockError
  5. If Errorlevel 251 Goto NoDiskSpace
  6. If Errorlevel 250 Goto InActive
  7. If Errorlevel 249 Goto SemaphoreExit
  8. If Errorlevel 248 Goto HostShutDown
  9.  
  10. Goto End
  11.  
  12. Rem        This file belongs to Terminate the final terminal program
  13. Rem                Copyright 1992,97 by Strathrory Systems Ltd.
  14. Rem
  15. Rem    There is no need to include the Terminate directory in your PATH
  16. Rem    statement. Just specify the complete path to the TERMINAT.EXE file.
  17. Rem    When Terminate is started, the current path will be saved, then
  18. Rem    changed to the directory where TERMINAT.EXE is placed in, and when
  19. Rem    exiting Terminate, the old path will be restored.
  20. Rem    Just change line 3 to your direct path to the TERMINAT.EXE file and
  21. Rem    move this file (TE.BAT) to a directory in your PATH (C:\BAT,C:\DOS).
  22. Rem    Then you can start Terminate from anywhere just by typing TE.
  23. Rem
  24. Rem    Try TERMINAT ? for a list of all options
  25. Rem
  26. Rem    Extra information on some of the options:
  27. Rem
  28. Rem    /C:....  You can specify another configuration file in case you use
  29. Rem             different machines. If no path is specified then we will
  30. Rem             assume the configfile to be placed in the same directory as
  31. Rem             TERMINAT.EXE, but you can specify an entire path if you like.
  32. Rem             If using network you should define a environment variabel,
  33. Rem             in your autoexec.bat like: SET NET=04
  34. Rem             And then use /C=CONFIG%NET%.CFG, the %NET% will then be
  35. Rem             replaced with 04 and the file CONFIG04.CFG will be used.
  36. Rem
  37. Rem    /BUF:xxx If you have XMS or EMS enough for loading the overlay file
  38. Rem             you will not need to use this parameter.
  39. Rem             For slow machines you can increase the speed of menus
  40. Rem             significantly. Try adding 50k and see if it helps.
  41. Rem
  42. Rem    /PORT:x  If you machine hangs because of wrong comport or hardware
  43. Rem             conflict or anything, try starting Terminate with a comport
  44. Rem             you know exists.
  45. Rem
  46. Rem    /MODE:x  If you have any kind of problem detecting your videocard,
  47. Rem             you can force detection with this command, it can be useful
  48. Rem             to force the videomode, because then no hardware testing will
  49. Rem             be tried, which could mess up the registers in your videocard.
  50. Rem             /SCRLEN and /SCRCOL should also be used here to force the
  51. Rem             screensize if you are using some non standard size.
  52.  
  53. :Fatal
  54. Goto End
  55.  
  56. :OvrError
  57. Goto End
  58.  
  59. :PwdError
  60. Goto End
  61.  
  62. :LockError
  63. Goto End
  64.  
  65. :NoDiskSpace
  66. Goto End
  67.  
  68. :InActive
  69. Goto End
  70.  
  71. :SemaphoreExit
  72. Goto End
  73.  
  74. :HostShutDown
  75. Goto End
  76.  
  77. :End
  78.  
  79.